FTP GET FILE
This command will allow you to use FTP PROCEED to grab.
FTP GET FILE Ftp Filename String
FTP GET FILE Ftp Filename String, Local Filename String, GrabInBits Flag
Ftp Filename String
String
Ftp filename string
Local Filename String
String
Local filename string
GrabInBits Flag
Integer
GrabInbits flag
This command does not return a value.
The GrabInBits Flag allows you to specify the amount in bytes to be grabbed each time FTP PROCEED is called, thus controlling the rate and responsiveness of your application during download.
cls : print "DOWNLOAD FTP FILES"
if get ftp status()=1
print "Getting photos\db_photo_pack1.zip..." : sync
ftp set dir "photos"
ftp get file "db_photo_pack1.zip","photos.zip"
if get ftp failure()=0
print "FTP GET FILE Succeeded!"
else
print "FTP GET FILE Failed!"
endif
ftp set dir ".."
endif
FTP Commands Menu
Index